Method: rich._inspect.Inspect._render.<locals>.sort_items
Calls: 99, Exceptions: 0, Paths: 1Back
Path 1: 99 calls (1.0)
tuple (99)
(True, 'thing') (5) (True, 'as_integer_ratio') (3) (True, 'bit_count') (3) (True, 'bit_length') (3) (True, 'conjugate') (3) (False, 'denominator') (3)...
1def sort_items(item: Tuple[str, Any]) -> Tuple[bool, str]:
2 key, (_error, value) = item
3 return (callable(value), key.strip("_").lower())